package edu.cug.water.visual.modules.uploader.web.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.cug.water.visual.modules.uploader.web.model.QueryInfo;
import edu.cug.water.visual.modules.uploader.web.model.TFileInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TFileInfoMapper extends BaseMapper<TFileInfo> {
	
    int deleteByPrimaryKey(String id);

    int insert(TFileInfo record);

    int insertSelective(TFileInfo record);

    TFileInfo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TFileInfo record);

    int updateByPrimaryKey(TFileInfo record);

    List<TFileInfo> selectFileByRefProjectId(String refProjectId);
	List<TFileInfo> selectFileByParams(TFileInfo tFileInfo);
	
	List<TFileInfo> selectFileList(QueryInfo query);

	TFileInfo selectById(String id);

}